package com.smasher.dialog.progress

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class ProgressViewModel : ViewModel() {

    private val textColorInvolvedTemp = MutableLiveData<Int>()
    val textColorInvolved: LiveData<Int> = textColorInvolvedTemp

    private val charSequenceInvolvedTemp = MutableLiveData<CharSequence>()
    val charSequenceInvolved: LiveData<CharSequence> = charSequenceInvolvedTemp

    private val progressColorDefaultInvolvedTemp = MutableLiveData<Int>()
    val progressColorDefaultInvolved: LiveData<Int> = progressColorDefaultInvolvedTemp

    fun setTextColorInvolved(color: Int) {
        textColorInvolvedTemp.value = color
    }

    fun setCharSequenceInvolved(charSequence: CharSequence) {
        charSequenceInvolvedTemp.value = charSequence
    }

    fun setProgressColorDefaultInvolved(color: Int) {
        progressColorDefaultInvolvedTemp.value = color
    }

}